package com.kingdee.eas.custom.hostelmgr.hostelrating;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class HostelRatingCollection extends AbstractObjectCollection 
{
    public HostelRatingCollection()
    {
        super(HostelRatingInfo.class);
    }
    public boolean add(HostelRatingInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(HostelRatingCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(HostelRatingInfo item)
    {
        return removeObject(item);
    }
    public HostelRatingInfo get(int index)
    {
        return(HostelRatingInfo)getObject(index);
    }
    public HostelRatingInfo get(Object key)
    {
        return(HostelRatingInfo)getObject(key);
    }
    public void set(int index, HostelRatingInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(HostelRatingInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(HostelRatingInfo item)
    {
        return super.indexOf(item);
    }
}